import { request, config } from 'utils'

const { api } = config
const {
  ScadeStationList,
  ScadeHdStationList,
  reportWaterUse,
  ScadeYLdata,
} = api

export function queryStationList(data) {
  return request({ url: ScadeStationList, data, method: 'post' })
}

export function queryWaterUse(params) {
  return request({ url: reportWaterUse, params })
}

export function queryHdStationList(data) {
  return request({ url: ScadeHdStationList, data, method: 'post' })
}

export function queryScadeYLdata(data) {
  return request({ url: ScadeYLdata, data, method: 'post' })
}